function invokeLater(args:any[],callback:(...args:any[])=>void){
    console.log("参数",args) // [1,2]
    callback(...args)
}

invokeLater([1,2],(x,y)=> console.log(x+','+y)) // 1,2

invokeLater([1,2],(x?,y?,z?)=>console.log('可选参数',x+','+y+z))// 1,2undefined